package com.ls.pattern.structure.decorator.model;

public abstract class Drink {

    public String des;//描述
    public float price;//价格

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    //计算费用的抽象方法(花费,费用)
    //子类实现
    public abstract float cost();
}
